package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
@Data
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String id;

    /** 微信openid */
    @Excel(name = "微信openid")
    private String openid;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 头像 */
    @Excel(name = "头像")
    private String headimg;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Integer addtime;

    /** 最后操作时间 */
    @Excel(name = "最后操作时间")
    private Integer lastLoginTime;


    private Long remainingTime;

    /** 状态：1正常，2禁用 */
    @Excel(name = "状态：1正常，2禁用")
    private Integer status;

    /** 提现密码 */
    @Excel(name = "提现密码")
    private String password2;

    /** 父级id */
    @Excel(name = "父级id")
    private Long pid;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal money;

    /** 积分 */
    @Excel(name = "积分")
    private BigDecimal jifen;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** vip */
    @Excel(name = "vip")
    private Integer vip;

    private Date createTime;

    private Date updateTime;

    private String lastLoginTimeNew;

    private Integer ifPrivate;

    private Integer mb;

    private Integer ifPrivateDq;

    private BigDecimal userTodayMoney;

    private Integer avatarFrameId;

    private String appellation;

}
